package cn.stylefeng.guns.animals.modular.system.dao;

import cn.stylefeng.guns.animals.modular.system.model.Product;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2020-08-26
 */
public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 获取分页
     */
    List<Product> queryPage(@Param("page")Page<Product> page, @Param("product")Product product);
}
